package cn.lotusnut.esdemo.mappeer;

import cn.lotusnut.esdemo.entity.Goods;
import org.springframework.data.elasticsearch.repository.ElasticsearchRepository;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface GoodsMapper extends ElasticsearchRepository<Goods, Integer> {

    List<Goods> findGoodsByName(String name);
}
